package com.my.chapter10;

public class practice21 {
    public static void main(String[] args) {
        P21.Inner.get();
    }
}

interface P21{
    void display();
    class Inner implements P21{

        @Override
        public void display() {
            System.out.println("Inner.display()");
        }

        static void get(){
            new Inner().display();
        }
    }
}
